package com.yangxk.kadmin.generator.rules;

/**
 * 验证类型
 * @author yangxk
 * @date 2018/10/4 20:02
 */
public enum ValidType {
    notblank("javax.validation.constraints.NotBlank"),
    notnull("javax.validation.constraints.NotNull"),
    email("javax.validation.constraints.Email"),
    size("javax.validation.constraints.Size");

    private String validClass;

    ValidType(String validClass) {
        this.validClass = validClass;
    }

    public String getValidClass() {
        return validClass;
    }
}
